import 'package:thrio/thrio.dart';

import 'pages/activity/module.dart' as activity;
import 'pages/post/module.dart' as post;
import 'pages/home/module.dart' as home;
import 'pages/user/module.dart' as user;
import 'pages/interest/module.dart' as interest;

class Module
    with
        ThrioModule,
        ModuleParamScheme,
        ModuleJsonSerializer,
        ModuleJsonDeserializer {
  @override
  void onModuleRegister(ModuleContext moduleContext) {
    registerModule(activity.Module(), moduleContext);
    registerModule(post.Module(), moduleContext);
    registerModule(home.Module(), moduleContext);
    registerModule(user.Module(), moduleContext);
    registerModule(interest.Module(), moduleContext);
  }

  @override
  void onParamSchemeRegister(ModuleContext moduleContext) {
  }

  @override
  void onModuleInit(ModuleContext moduleContext) {
    navigatorLogEnabled = true;
  }

  @override
  void onJsonSerializerRegister(ModuleContext moduleContext) {
  }

  @override
  void onJsonDeserializerRegister(ModuleContext moduleContext) {
  }
}

